Python project restructuring