frontend architecture defined