Add configparsing and defaults

Signed-off-by: Hector Acosta <hector.acosta@gmail.com>