Refactor project structure and remove Python API (to be maintained in a separate repository).