refactored config files and fixed path issue with demo bt_fa.php files