Did you manage to request for GCMS to know thenotes from the visa officer that refused your application? Most of the time, if the refusal is based on the purpose of visit, you need to elaborate on your reason for studying in Canada, your future plan after completing your program. Try to watch this video, it is a comprehensive guide in writing a study plan. Goodluck with your reapplication.