Added game method
Added canvas creation
Added main loop in game method