Added 'selector' documentation
Created 'states and events' section