moved the class to library