Added Ecology.api

Also, began to add some proper exceptions.