deriving Encodable, Decodable for all structs
Merge pull request #118 from bachm/master

Implemented Encodable, Decodable