linking controller and model
oops, declared methods with = instead of :
finished the mvc structure