Changed space-state recognition to new api-design with boolean
Changed .gitignore