Created dynamic api controller builder