Transforming the old app into a module