moved metadata.rb to root dir