abstracting type double away for use of a future number type
added zrtypes header
added retrieval functions required by the GUI
Display correct values when currency is changed