First pascal project. First try to implement mvc.