def build_object(class_to_build, access_info, data_for_instance):
    """Factory method that can can build instances of BaseKempObject

    :param class_to_build: Subclass of BaseKempObject
    :param access_info: Access info that will allow it to attach to parent
    :param data_for_instance: Default data for class instance
    :return: Instance of class populated with access info and default data
    """
    build_parameters = {}

    for parameter, tag in class_to_build.API_INIT_PARAMS.items():
        build_parameters[parameter] = data_for_instance.get(tag)

    obj = class_to_build(access_info, **build_parameters)
    obj.populate_default_attributes(data_for_instance)
    return obj