add crl base funcs
Update README.rdoc
add base for crl creation
refactor