implemented serializable in some classes
Merge pull request #17 from ibarreto/master

implemented serializable in some classes