updated process to be able to figure out api controllers.