Source code update to a more modern standard by including also external libraries (build, runtime, test). Reformatted and simplified a few lines of code. Changed the test environment, which failed a few tests. Most of them have to be re-visted again.