Fix weird error in LW
Massive changes

Module now has params for setting hostname/port/sync,
connection occurs durring initial reset call, if connection is already
made, reset triggers a remote reset event