added posibility to use external postgreSQL database to store results of bandwidthd