Remove view instance from App and added to Controller. Added ability to use App in CLI.