Added snake movement plus input handlers