Split the whole application into modules.