Move selector to lib folder.