Added implementation on ConfigSchedule
Added serialization methods

Added serialization methods to Config and ConfigSchedule classes
Refactoring and bug fixes