separated server into modules, uploader and timer