add header and 2 require
modification singleton
delete 2 function
new query->singleton
update for new DataBase
update for ne  DB