Sex becomes class instead of enum.
Added Serializable for Sex class.
Merge pull request #18 from anlun/fix_br

Sex becomes class instead of enum.