Added sorts model; Finished some HTML controllers