refactored code so that writing of an MSA build is made possible through
its own module.