Create mineos.py

Just pulled this from my Rpi repo with the changes needed to work on arm. THIS IS NOT MY WORK... It is work from the creators of MineOs, all i'm doing is keeping it up to date and with the changes needed for arm.