Added XPManager utility for web use and tron use