Added hand class and hand test class