moved set patterns to separate files
some more set_patterns cleanup
Merge branch 'develop' into patterns
fixed some eof newlines
moved locationhelper to lib/wagn