add simple settings interface
add helper function for retrieving settings