Move ui files to packages

-core files and Unit Tests