Refactor BMConfigParser as a module variable
#1927
Merged
BMConfigParser as a module variable
#1927