Added canvas logic. drawing arrows still needs some work