Adding new functions with support for Windows

Reviewed by: Swapna Krishnan <skrishna@redhat.com>