Preparing infrastructure for REST