Added Api Manager class for handling the server calls, created a singleton instance of it for global access