Implemented serialization
Merge branch 'master' of https://github.com/Psylence/CSE-4471