rename permissions.rb to policy.rb; use standard/master gems