Restructured directories to separate code from build/config files.