Splits up Python API into several files