split directive declaration from instantiation
added example files
Version 1.0.0
Version 2.0.0