Added first layout logic with PHPixie framework