WIP: working solution
WIP: stabelize solution.
Forget config file
More distance functions