Renamed MainFrame.java.
Added more methods to DbFunction.java