Added check for error code
Updated various packages
Added Durandal etc.