Split core and ui