added newrelic to prevent sleeping
changed files
fixed newrelic code style
restrict document array size to prevent db from running too slow
fixed document schema