Foundation Architecture for (M)LLMs