Sets up backend