Extract webresources api into discrete module
Add validation support