blueprint filename, db plugin, manager

* add blueprint name to filename for easy lookup
* db is no longer special, will be init as plugin
* put manager code in the lib folder