added layout-engine.js, more to follow
in the middle of integrating the new layout-engine