Also moved global classes which should be in the Foam namespace into it.
plus support for other than integer types