chore(entities): Move subtype table API into an OO service