added class endpoint
refactor security router class
DB Driver empty class
this is unfinished unstable code.

committed to close around 3 hours work