adds initial api controller class