Added double support

Added support for double values.
Added more argument support to console interface.
Other small changes to support some of our stuff.