Added package.json and Semaphore class.