I know your exact pain I really do . & I hate that you have to go through this because I know what it feels like . I found what helped me was getting out the house more and doing things I enjoyed.
And as far as your classes try focusing on work it can help take your mind off everything going around you and your thoughts for awhile . I wish you the best though good luck *hugs*