adding AMD usage example
still deciding how to attach a component