add create departments and classes table. rewrite sql.java