Fixed compilation errors, fixed rate source, renamed currency file and added missing code