Update and rename opentiles.py to opentiles

Much cleaner tile function with global//mains appropriated.