updated build process, added errors for reconnect, made sure all npms ne...

...eded are included