Fixed a out-dated dependencies, should look into decoupling application from config and controller from application.