Create main_cmd.py file which is using the Cmd library for the command line loop

I think this method is superior since its a library dedicated to command line loops, so there is no need to reinvent the wheel.

I want to request the owner of the repo to test it and report any errors.