barman entity and controller