splitting up files
now also supporting browser client
cleanup
separating the server bits
v0.0.2