Tried to create an MVC structure