add env selection, move deps into app