Add api controller for source code