Updated comments for smart_open
Reworked exceptions
Renamed automain.py to autocommand.py