fleshed out functions
fixed addressing issue
fixed addressing issues
added support for connect/disconnect
initial commit