Refactoring code.

- Removing AccountBalance to_f class method.
- Adding to_bd method to Integer and Float classes.
- Pushing integers and floats through BigDecimal class.
- Adding to_xcr method to Integer, Float and BigDecimal classes.
- Calling to_bd and to_xcr methods where appropriate.