add ruby version to gemfile
Add layouts API controller