Introduced new Engine class.

Core functionality has been moved to a namespaced Engine class. The
existing Flight class is now just a static pass-through to the Engine class.
Also fixed autoloading and initialization issues.
Merge remote-tracking branch 'origin/master'