Added class primitives

Signed-off-by: Joe Kulig <joseph.kulig@gmail.com>
More restructuring.

Signed-off-by: Joe Kulig <kulandthegang@gmail.com>