Adding layout codebase