finalized an api for payload pkg. finished pow implementation. Moved msg creation helper funcs to their own buildmsg package