Get rid of the _internal package

move ui and dialogs to frontend package
move internal client api to frontend.client