use defines instead of const global vars
SBPL code cleanup, parameters loaded from YAML file