Updates to Environment and Resource modules

added function for root path
updated root path used when adding stylesheets