Add ui elements to plain object
Init fn helper to plain object
Move DomainHelper to own file
Add domain initializer
Update actions, cleaned up code