Added a makefile for preparing and testing the application. Added prefer-stable flag to composer and updated dependencies.
Organizing exceptions