#130 - Added files of api/agents_controller to new rails.
#130 - Changed api/agents_controller to work with new rails.
Merge pull request #238 from bsharanya/master

Moved api/agents_controller to new rails.