Commented all functions in UserInterface and DatabaseAccess