updated permalinks, better use of categories