Organize codebase into packages.