Adding generic interface to encapsulate dangerous DB activities.   Adding helper method to autogenerate IDs using SHA-512