Created a service layer and a public interface for the web app