refactor regulatorydocuments and shippingline server side modules