A General Purpose Implementations of Semiclassical Molecular Dynamics for CPU and GPU hardware