Added setWebroot
Created listener to set webroot on postLoad and prePersist