Refactoring bci experiment