Adding Java based Token gen
Adding java based token gen