Added DATABASE_FOLDER config variable and documented user APIs in README