Adds a method for initializing directives
Creates a helper function for creating directive ids
Adds a example directive