Set basic exception handling and extraction of version.