Improved context design.
Added entry for the application engine.
Added --platform, --debug and --iteration parameters.