refactor(rest) add get, put, delete