Create ProofOfWork class