[PATCH 54/58] buildman: Create a function to handle config and build