Added nedb to package.json
Added database file to ignore
Added database dependenci
More work on optimize
Added databse query for finding first lastid
More work on the index page
Database caching is now working