update database code
update ignore file
remove useless files