Starting to build api