basic mvc pattern added