add a load function that parses the config file

Signed-off-by: Alfredo Deza <alfredo.deza@inktank.com>