add script, styles. add view functionality.