introduce ManipulateEntity class to manipulate an entity.
moved the process method to ManipulateEntity class.