added main server file and public folder