added more command functions and logic i.e. start(), stat(), list()