sets up base app