Update and rename layout.py to layout.pyx