Remove un-needed exposure

Data class was exposed to the handler class, this is not necessary as no
direct DB connections will ever be made from the handler class. Removed
this reference to protect db functions.