Add front controller
Added Routing
Moved index action into controller