Changed order of loading bootstrap by moving the load config function.
Fixed loading helpers and components, added App::uses.