[greg] added Constants class, added AccrualRate enum