separate common library from ui project