add validation logic for required fields; add test for annotation validation logic; refactor exchange rate entity; add currency pair entity mapping