Added timefunctionality
Changed DB