new renamed plugin code using GoCoin lib version 0.5