Decimal support added (much improvement needed)

attempted decimal support added, still lots of work needed but a good
start. Will work on it later. also the command arrays now get condensed
into a single string. Not fully functional, need to continue work on it.