Consts working.
Class handling added. Need to sort out classdesc issue, but otherwise it's just down to testing and output formats now.