Split barrier concept into separate files.