added adaptive unit metro to command.hpp
fixed base_metro and unit_metro
added adapt_unit_metro