Rewrote all index pages to SQL, finished adding m:m relationships