Complete source

Commiting the base of the engine.