Added frame and canvas along with gameloop