Refactoring ConfigBuilder

 * methods goes private
 * fix jshint/jscs warnings