duration i db.sql is now an int. some testing in dbconnection.java
fixed merge