Add:
    app.py
        - home and search views
    models/base.py
        - update function
    utils.py
        - flush() to flush the elasticsearch index
Refactor:
    app.py
        - semantics and syntax in many functions
    models/user.py
        - change_password function, make it actually work
    models/base.py
        - modified insert so that it includes date automatically
    test.py
        - updated tests