Canvas drawing foundation implemented