Removed useless brainmodule interface
Refactoring brainmodule