Import dev-v2.x branch

Import of the dev branch: 
- new architecture,
- external config file,
- new player gui.