Move create_ca.rb to lib to prep for gem packaging