Enhanced AttributesModel, Added Databasemigration