move constants and private variables
cleanup docs
bugfix connmgr.connect() params