Fast, Modular, and Differentiable Framework for Machine Learning-Enhanced Molecular Simulations