Added Command Handler

Added Command Handler to handle all main commands