split up physics stuff into appropriate files.