Draft of layout manager.