ISSUE#377. Combined materials, base and mcfs into a single repository.
Fix unit tests so they pass. Add target to makefile to install packages.