added layout engine including 2 implementations : defaultlayout, basiclayout. Added some experimental plugin facility