bugfix: location insert

fixed a little bug concerning the location insert
webinterface refactoring

- outsourced some database operations
-> created new class dbQueries.py
- updated all websites