first working version
Realtime layout.
merge