Config file name change: if -> links

Also change some variables' names
$FW -> $CONFIG
$INTERFACES -> $LINKS
Merge branch 'dev'