comeback of MethodView for api in place of plain function
refactoring of the projects api to use MethodView. Add some assertion in tests