Add layer events are now catched by the extension classes
library classes updated and refactored.
Fixed compilation problems
added app (extension) project