Refactor server, worker. Create requestreader, request validtor