added jdbc functionality 

Agreed. The rest of the code should give some help to see the general style we're looking for.