refactor the extension
rename FLYWHEEL_IS_SECURE to FLYWHEEL_SECURE config name
add documentation in the sourcecode