Added debug console and environment system.

Added app name and basic configuration options.