Predation, competition and environmental variables: Some mathematical models