starting to add basic webgl method to engine object