Move api functions to a module