//Set up SPAPI (in my case I have installed SPAPI in Layouts directory)