move setup to own file