reorganize functions and delete some files