Moved program.cs logic to exchangerepository.cs