added basic MVC model