Extracts build functions into a separate package