start to refactor everything

Basic test are done with python 3.3 but maybe it will be a good idea to
keep a version 2.X since Lyon may not have moved to the latest python version
update code

Still broken since configparser has changed in python 3