starting body parsing and finsied routing