Impl RESTCollection and some loggin stuff