Reworked build process to be less location dependent, and added it to the repo