Added LengthFactory with test cases, added input field to input distance for uploading, TODO: show distance properly, make it editable