Move constants into config.d. Close #8.