Merge Master and Slave libraries into a single package