Restructed files, added runAllDocTests. Bottle added track user request and redirect functions. Updated the category definition in tables (starting from 1 now).