Added documentation and doctests
Added flask app
changed name