Initial stuff added to new structured-python code.