Added class() function with inheritance, constructor and type-checking
Added CObject and class support for install