Refactored managing sites with only id and name. Added selenium tests for categories and languages.