added predator class and made modifications to config and main
predator and main modifications