SHDP-334
change directory to partition in all new classes/methods
create a TextFileWriterFactoryBean so that the delegaate workers in
Partition are managed by spring context