Edited database classes

Pushed methods from Database.java to FormsDatabase.java, edited
getAllForms method (now getModuleForms), new methods added too