removed catching null pointers
Handled exceptions properly
removed reading configuration file inside constructor
Merge pull request #55 from sajinidesilva/exceptionHandling

Handled exception properly