added token gen_server and adding storage logic of mcfg_spec
introduced dependence on mnesia, updated record names
added init_table function to server and fixed compiler warning