Minor updates

Updated error.cc, moved massive install command into a bash script. Initialize & update submodules as part of build process.