some new functionality

specifically some more constructors and some fixes of class definitions