The invention relates to classes of pharmaceutically active heterocyclic compounds and pharmaceutically acceptable salts and hydrates thereof and compositions comprising the same. The invention also relates to methods for treating or preventing a disease or disorder which comprises administering a therapeutically or prophylactically effective amount a compound described herein.