Decompose monolithic app file to multiple modules