add more gateway constructors. use liteguard source package