Merge pull request #1 from hosim/split_code_into_some_separated_files

split code into some files
add a README file
rename
add some specs