Moved rivets adapter out of AppHost