reorganized a little; removed the getcos-specific functions, added a new function to create cscope indices