split express into layers