updated some functions required for option implementation
added settings page
added settings tabs
added option class
removed obsolete lines
added initial option page for categories