add Weights class to parse weightsfile in assembly.allmaps