refactor
rename ctx to match webgl conventions
refactor to allow multiple canvases