Added default weights
Added defaultWeights associative array
Support for reading weights config file