Layout and URL generator complete