slightly refactor IncludeFragment
Move fragment handling to module and add fragment injection