Use the composer PSR4 autoloader
Split initial volume packing and weight repacking into separate functions