Added rudimentary extraction of build properties.

Currently supports main and test source directories.