Add BigDecimal typecaster

fixes #2
Fix constant namespace