config: basic loading structure

Signed-off-by: Alex Dubov <oakad@yahoo.com>