remove useless file and add db