Added basic drafts of category and event classes.
Added decent contract class.
Added friend class.