Re-externalized "main" and "view" packages.