You have started in the right direction and for that you can refer to my article - Separate resource into a separate DLL