Modular barrel