spot model validations and postgis setup