Added CMD

added command prompt functionality