Cleanup numerousapp code and create numerousapp.py