Increased efficiency of directory.go, created new build, debugged out code in progress to allow easier builds