added support to EnumSerializer to change the offset of enums. DayOfWeekSerializer now uses EnumSerializer as a base class.
compilation successful.
fixing bugs.