[WIP] Small cleanup in ResolveSourceFragments.hs

Not for review yet.

Added a source directory. Started cleaning up ResolveSourceFragments.hs.