Changed build so that there are two build modes: all and dist. See the readme file for updated info.