Updated setting and urls for flatpages changes - the layout is moved to a separate app