[layout] initial commit of magic layout