added channel support, new commands, bugfixing