adding first version of mvc architecture