refactor build creation out to its own function and bump version number