Reorganize Python directory structure