Added quick support for Loops in Page generation; Implemented loop:teams