minor fixes, added SubmissionsDB.java, still needs work