[core] pep8ify bot.py and __init__.py

issue #125