split frontend and backend modules