How to create melee weapons

Does anyone know how i can create a easy melee weapon with changable assets like w_/v_ models and player model holding animation?

Look at other melee scripts on Garrysmod.org such as the katana and stuff like that, then just modify.