Drop unused files and unused codes. Change some code structures.