Now, my question is, how could I work around this and show him I'm the boss of my life and I'm going toward my goals with him or not, that he should stop that and we could collaborate instead and that I'm not a threat to him even if I'm successful with what I do.
sebzzz, look at what you wrote: the word "should." Your friend shouldn't have to do anything, because you don't control him. On the other hand, you
are the one choosing to put up with his behaviors, so you
have to look within to solve this problem/situation.
So what is it really that has brought you to this point, where you have to deal with this? Are you afraid that you can't accomplish your assignments without him? Are you scared that you wouldn't be able to find a better partner for school projects? Are you afraid of telling him what bothers you about him because he might not like you anymore?
What is it really? Look within, figure out why you are choosing this situation, and learn your lesson.