Primer of Ecological Theory