Added threading and formatting to build process