Define main. More parameterization. Decode expire time.