Added directive examples, started code reuse stuff