recognizes input args and commands
started threading