First try of a basic MVC implementation