hook_entity_info and helper functions is progress