How to change elements of static mesh by code running

Ok so if I want every part of body changble I have to make them all separate. Any tutorals how to achive that separation in one model?