update move detection

Updated movement system to automatically detect movements by class