Packaging modules into an application