Hook up backend and frontend.