Adding support for **Aggregate** and **GroupBy** inside Branches. Also, implementation of Background and non-background Aggeregations and GroupBy states