Add getting Duration from Configs.

Also updated project description.