hide wres library layer0 functions macros for front end application