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