Code modularization