broke some stuff out to gfx.py
added online folder for potential online stuff