refactoring biemonds wls module