Added initial scripts and the setup.py
fixed a problem in setup.py