Add basic configuration file management

Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>