Understanding Biosolids Dynamics in a Moving Bed Biofilm Reactor