Add framework for default / threshhold values

Signed-off-by: Shivdas Gujare <shivdas.gujare@gmail.com>
threadshold related code implemented