CS fixes and PSR-2 compliant
CS fixes for API Controller