How do I make a player model?

ok I do know that using this code:

$includemodel “cs_fix.mdl”
$includemodel “global_include.mdl”
$includemodel “m_ss.mdl”
$includemodel “humans/male_shared.mdl”
$includemodel “humans/male_ss.mdl”
$includemodel “humans/male_gestures.mdl”
$includemodel “humans/male_postures.mdl”

Can make player animations work but… What do I use to put this code in???

I just extracted and hexed the gman model from half life deathmatch source, but I don’t know how to put player or npc animations on it. can anyone give me a link to a program and a tutorial? (preferally a free program :D)