fixing a bug with relationships and moving motion support out of the gemfile