Added config.py

Changed config.py, added OptionParser

Made required changes