move warden to lib
try to validate user settings