Refactoring of main() and MessageSystem
Engine is initially built
Fix for Engine
Merge pull request #13 from eugene195/KM_Engine

Km engine