Move some existent codes into some new files
Move some existent codes to some new files