adding resourceful concern for controllers
add some tests for resourceful