Clean up bartender.py, introduce settings module, ignore IDE files in git