stores pageview client referer
removes unused methods
prepares database for referer stats