[Agate 002] building factory architecture