Shape-centric Modeling for Control of Snake-like Robots