REST controller added, and made all controller classes abstract.