added dimension to databaseinitializer, other modifications