UIProvider moved to other class as inner class