Added Engine constructor.
Created CommandParser class and updated Engine.