Initial commit

Game engine is functional, but not yet ready for production use. API is still in flux.