created app class, program restructured
refactored main.cpp
code commenting, small changes to console.cpp