in process of rewriting all code to rewrite.py

Mouse picking still not 100% functional