Adds factory.py.
app.py: Makes Builder use Factory.
database.py: Fixes leaking of imported objects into documentation.
changelog: Updates latest to 0.16.1