delete obsolete files and fix new API for server
add new sql file