added model/controller from elwithbeans andvalues