added a new server file
fixed error in generating valid keys
0.7.2