basic integration of parser into server. still sort of janky