organizing code into low level Win32 library and higher level Prefab capture code