Created a q-mgr.py file. Making a py evrsion of the encode system