Splitting the api to categories api & expenses api.