added resources MVC

You'll probably want to add some validations here.