logically reorganize library; create separate lib for output building; support the creation of raw op_return tx's without broadcasting