inital setup for UI , copy from Retina repo