able to open and close channels

still working on messages.... -1 error is annoying