setup server, database, testing environment