fix query bug, full javadoc, added checks, new db, new Supporter.java