Issue 147 - Bug - Move the db.js ,search.js to the back-end.