Added configs for pep8, nosetests and pylint. Enhance code style