Made profile classes serializable
Made necessary changes to some profile classes. Started parsing profiles.