added created support and switched to a better restclient