added history interface, saving query history
changing for synchronization, add into interface DatabaseExecutor