1. Added initializer files for API
2. Modified teams and users controllers to use global variable accessing the API