Modularize the code base.