Added namespace declaration to AppController.
Added imports to bootstrap.
Rearranged bootstrap.