Use event emitter to update UI
Test nested repeats
Slightly better styling