Added configuration supporting
Added basic loop