Some changes
Some changes

* Uses new ContainerExceptions
* Most comments are up2date
* Adds support for setting primary fields (important for later use on
data handling)
* Code reformats
tekkla/TekFW,tekkla/TekFW