ApiView based on flask.MethodView and register_api
quick fix for routes management command when View classes are used
easier to import cache decorator
easier access to app.logger, request and g in ApiView