Adds services controllers and JSON responses.