sperated controllerlibrary and controller window