Added error code file
Now uses error codes from errorcodes.php