Added custom exception classes for Ghost and use of them
Exposing the exceptions classes