Divide app into modules