refactor build scripts
refactor directories for build process