Added method to fetch rates

Change currency to active record