SN-91, SN-92 Create classes for rest and logic . Implement several rest methods.