Added Service Layer

Added Service Layer