added ObjectfiedCanvas class