Reworked the project from the rest api to the common web project