corrected indentions in crawler.py and added singleton.py file