Restructure application as a module to provide structure as application gets complex.