Added most of build process