Battery factory design