some small changes
fixed wordpress pagination issue
cleaned up the theme library functions folder and files