Added controller and resources