Removed unnecessary code from player script and obsolete scripts (Cubbart controller and obstacle behavior).