[Gfxprim] Refactoring the directory structure