Setting up backend