Code organization and documentation adaptation