SMS: Ring polymer molecular dynamics