add post nd category in functions
add taxonomy
code cleanup
Update code for taxonomies/post type support
Some more mods
Fix typo