Made separate class to deal with API Calls