added post body parsing and started servlet functionality