created bookDB class and connections and did some test