Fixed Stream and Unit import bugs

Added stream and unit import validating; Enhanced import error message;
route cleanup