Added web server flask.

Split ipython dependencies.
Added flask dependencies.
Fix bug with requirements file.