Added api path to require instead of module