Restructured directory properly; fixed namespaces in .rst files.