added misc functions
Merge branch 'master' of https://github.com/m241dan/DavEngine