Added a method to initialize the dependencies for the application.
Added test coverage for the main method. 100% test coverage, Hurray!!!