Changed DBStore to a fragment

Changed DBStore for a FragmentActivity object and rewrote its methods as
non-static. See email archive for the reasoning behind this.