add sql model and mocks for testing WebUI