[#1227] Remove Twistar Registry singleton dependency.

Problem description
----

Remove all dependencies on `DBPOOL` and `IMPL`.

Changes description
----

Added new, per instance, attributes to replace dbpool and impl.

How to try and test the changes
----

reviewers @adiroiban 

Please check that the code changes make sense.