Add config API

Signed-off-by: Matthew Messinger <mattmess1221@gmail.com>