abstract class measurement created

methods abstracted from Length to measurement class