Seperate UI and Core. Create STim dll