how to deal with a breakup?

My boyfriend broke up with me the other day over text, after asking to see me and then not showing up. He told me that I was too motivated and high achieving and that made him feel guilty and that I threatened his drug use because I asked him not to do it in front of me. He also said how he resented paying for everything even though he refused to let me pay and when I told him about how uncomfortable it made me that we were so unequal financially he told me to chill out coz he liked spending money on me. I'm just so angry and heartbroken because it really came out of nowhere like we were great and then all of a sudden it's over. 
Do you guys have any tips for dealing with a break up and moving on? I'm two weeks out from exams and really struggling :(