Modularize, add timeout for server that disables wifi, start on config stuff