Implemented thread pool
Refactored tup config files (use "tup variant" for build variants)