split front-end & back-end