viewEngine: rewrite resource fetching to be synchronus to prevent header errors
fragments: remove unnessacary fragments