beginning of database implementation with the GUI