Fix 'indentation' warnings.
Added flask-restful to requirements.
Added api registration utils.
Used Flask-RESTful package for apps API.