added version to classes. deprecated slow std functions