Created fluent API to build dynamic api controllers.