Merge pull request #120 from ChrisGrant/serialisation

Added serialization to the project.