Add the abstract Modifier class

Add the class Modifier which is an interface for modifiers.
A modifier alters the properties of an entity.
Add the modifier functionality to the Entity class.