wrap express app into a module