Support data validation and increase dendency separation.
Added json-schema validation before documents are saved. Acts both as a safe-guard and as a reference of the data model.
Added directory for server related material. For now it contains scripts to configure CouchDB and check validity of documents against the schema.
Started separating out parts that depend on the data model from parts that do not.