Alfa implementation of the 2 points distance

Implementation of UI (alfa), need to be tested