Switch to modular build

This will be useful as we start building "peripheral" features, specially with the filters architecture.