Great British Railways will be a new public sector body holding responsibility for rail infrastructure and train operation.