Move settings & build flags into local namespace Fix various functions referring to settings, when i2c is initialized once Correctly use feature-flags in the .cpp instead of the .h