Separate local and remote run modes: create DynamoSearchElements and FloodSearchElements classes