Added the exception class and updated composer file