Added physics
Fixed a cast
Added missing files to the project