Basic Engine

The basic engine parts, low amounts of optimizations.