Added API controllers. Added route to handle API controllers