finished setup and started work on the api