An integral approach to modelling PBL transports and clouds