How to build modular applications with spm.