Build configuration file path and directory paths can now be relative. Closes #2, #3, #4, #5 and #6.
Minor code cleanup.