Updated copyrights, moved default DB path to /srv/db
PEP8
Added variable for installation directory
Removed leftover debug pprint, catch correct errors and use objects.get instead of .filter