Restructure client-side app. Add in web API and repository infrastructure.