include mycroft in package.json
remove duplicate connect statement
readability improvements