separate classes DB, GUI textfield