Wrapping the oculus code into a library