Create a new DeviceList class that handles scanning for Wemo devices and create a global instance at startup; this makes requests for the index page a lot faster since it doesn't have to wait for scanning
Add an action for refreshing the device list on the server