config: Add configuring code

Signed-off-by: Bart Kuivenhoven <bemkuivenhoven@gmail.com>