Designed to run on HHVM & CouchDB