add setup.py
split into different modules
Merge pull request #1 from skyline75489/master

add setup.py, split one file into different modules