Backend Changes

started work on decimal calculations on the backend