add REST Controller, separate codes that not written by me into separated file