New component ApplicationManager.cfc

New component ApplicationManager.cfc, other changes and bugs fixed