def register_module():
    global custom_module
    global_handlers = [(_REST_URL_TASK, _TaskRestHandler), (_REST_URL_PROJECT, _ProjectRestHandler)]
    namespaced_handlers = []
    custom_module = custom_modules.Module('External Task Balancer', 'External Task Balancer', global_handlers, namespaced_handlers)
    return custom_module
def register_module():
    global custom_module
    global_handlers = [(_REST_URL_TASK, _TaskRestHandler), (_REST_URL_PROJECT, _ProjectRestHandler)]
    namespaced_handlers = []
    custom_module = custom_modules.Module('External Task Balancer', 'External Task Balancer', global_handlers, namespaced_handlers)
    return custom_module