make config a dict, not a class
add log, swp, and sqlite to gitignore
Use new style classes
remove type == checks, use isinstance