added some consts
some little changes
implementation of hand class