Update for new before_setp API
Merge pull request #2 from mandli/multi-layer

Add multilayer application examples