updated classes to support extension on the helper and allow another db into the methods