Added canvas and made program runnable