Improved:
*  Raw URLs replaced by genetorURL method (generate URLs by route name and params)
*  Integer error codes replaced by class constants