Moved DateManagement outside of assets. Fixed multi-include of db.php in the models.