Update opentiles.py

Everything should be up and running...just needs some cleaning.