Finally Ex50 finished

Going to work this on Rails