Added get() and set() methods to the Entity class for getting and setting the properties without the use of PHP's internal magic.