Text this: Design and optimization of small scale factory manufacturing system