Refactor main server to extract processing part into dedicate functions
Refactor main server to extract processing part into dedicate functions

razvan9310/barrelfish,razvan9310/barrelfish,jinankjain/barrelfish,jinankjain/barrelfish,razvan9310/barrelfish,razvan9310/barrelfish,razvan9310/barrelfish,jinankjain/barrelfish,jinankjain/barrelfish,jinankjain/barrelfish