adds map.xml
finishes the JDBC