Updated service layer architecture.

Signed-off-by: ashwinh <ashwinh@cybage.com>