Cleanup of jasper.py

If cleaned up `jasper.py`.

If have also some questions for futher cleanup.
Also, should we refer to this as the profile instead? At least, for the time being.