Just found out the API to the VSS. If using visual Studio .Net, the API is at C:\Program Files\Microsoft Visual Studio\VSS\win32.
All we have to do is add a reference to the project and start using it. I am sure the MSDN has loads information on this.
VSS has a help system that can help with accessing the API from com and interoperability and other related subjects. It also has information on the VSS Command line utility and writing scripts.