Unified model of baryonic matter and dark components