Bug fix in listing categories

Fixed some bugs in listing categories.
Added netbeans nbproject folder
Modified the schema to collabobase db