changed api call and response format
added libraries to the project