update README with notes on resource models
add Component.error method