added physicsengine test and moved player into own class