Added Length class
Added rolling stocks validation