Refactor the jdbc DAO
Starter of the final lab.