Code reorganisation into API calls

API calls to get people, clients and items
Code documentation