Added semaphore class + build script