Extracted and moved interfaces to common ui package