New package structure. Move logic from Direction to Snake.