added db design
added db design, old code of JDBC-not working-