changed license to Apache 2.0; fixed defect preventing snippets from being discovered in other modules