New UI using new api

- Change the api endpoints to be more standard, allow filtering
  - by function
  - by state
  - by a where search param

Use the new endpoint(s) to power a flat angular powered frontend.