web resources refactored