added dynamic loading of cli commands and basic input checks