change url to getUrl, add getLayoutUrl, change staticUrl to getStaticUrl, trans to getTrans