Refactoring on the DistanceDemo

- Change the project organisation
- Refactored the ESTViewController.m
- Added two unit tests cases