Fix/namespaces

 - [x] Included namespaces in the code (except in the tests), 
 - [x] Updated code to include pagination via pagination class, 
 - [x] Made language variables accessible by including service definition for the listener, 
 - [x] Defined variables via constructor instead of making use of global variables, 
 - [x] Resolved errors due to incorrect exception name