Better structure

Each module now has own directory. There’re also sample config files.
This allows us to support different implementations of each module.
Worker number is now cpu number + 1.