Implement basic layout manager