An implementation for dynamic application allocation in shared sensor networks