added derby to dependencies.  fixed bug openConnection