building classes needed in the core