starting to move to an mvc style
finishing