major updates
maor update and refactor
wired up basic client js