spatial.py should be in 'view'