Now bases on LevelUP for state-persistence; app.js rewritten