Create Main controller and add routing in core file