api calls split up into seperate classes