Create jmcore.py

If you need the rprint function, you can find it here.