how do i add custom weapon models?

So i have a bunch of weapon models i made but im not sure how i can add them to gmod. I know that the model has to be compiled, what i need to know is how to do that and how to make animations work in gmod and also how view models and world models are made for weapons.