Beginning refactor of DB/Conf code.
Merge branch 'master' of https://github.com/makilian/Mist