semi-working parse

parse mostly done. peers working correctly