Added decimal input.
Added some utility functions.
Cleaned up the build a bit.