Added preliminary json db code.  Seperated server handlers into handlers.go.
Various other improvements.