The initial commit.

The majority of the engine code. Still a work in progress.