added some more server skeleton code and worker code