Initial commit
Complete client rewrite
Move client code to single file
Some tweaking