feat: Implemented kind inheritance

A kind can now have subkinds which are stored in the same datastore
entity as the kind.