refactored enums that were stored as string back to enums -> can now be serialized because kryo is used
added some comments