added load, update, and draw functions to main.lua