I am working on a project that is basically a web application but now I have been asked to expand it and expose some APIs from it. I decided to extract the Service layer from it