Setting up the base application