move class to lib folder