Initial commit of core and ui