using foundationdb instead of leveldb
working but slow and cpu time has gone through roof
only getting id once from database
Made unproccesed in memory
created a store_q for processed blocks
check the queue to store before getting details from db
moved over to foundationdb
added sinatra with the service into the database
need this file too
Some restructure
tidy