remove lib folder from .gitignore
add Prime class and defactor method