added connect
first kinda working npm module