tokenLength made configurable, added to config

#Modification: A variable tokenLength has been added to config file, it
will define the length of token to be generated to the system