split code into some files
Merge pull request #1 from hosim/split_code_into_some_separated_files

split code into some files