Changed the views, urls and API calls so that we no longer have a single source of spatial functions, but rather a combination of spatial and temporal functions