added db storage for routes and a firsttime.js for initialization