minor refactor

UserInterface.* -> ui.* (not a class anymore)
Physics.* -> physics.* (changed to a namespace)