Separated an API from the web app