Move api url to module.