Add proper error handling
Add parameters for setup.py
Unused module deleted
Updated README