First version of the snake object