add Position class, Gemfile and specs