move entity class