added implementation to the Distance Converter, also took out the inner classes to a new package