api: /lib/cfg

name config specific api as 'cfg' with its own file

Signed-off-by: Oleg Verych <olecom@gmail.com>