First commit towards changing the backend to use Kontize instead of it all being custom.