Better handling of config files using python ConfigParser

Closes #4
MySQL support