Module for creating class-like inheritance objects