phx api, first commit, obviously subject to change

The physics API, it's a work in progress so most of it is un-commented for now.
It uses a matrix system for the player's positions and to move, scale and rotate player's.