Added deps to readme.
Added a lot of the server lib code.
Merge remote-tracking branch 'upstream/master'