reorganized and inserted static content and style sheets