make animals die and reproduce based on score

+ move support methods in separate file
[Delivers #57052450]