Configuration rewrite, part 2

* Cleaned up the internal loop types representation by leveraging the new config style

Change-Id: I07f727d78a078bd9301084e130fd2b11baa82aad