up/down voting functions. refactored category page creation.