Modularizing backend service and proxy