Modular firearm which easily can be reconfigured for various applications, for example by changing chambering or barrel length