workingo n checking redundant payload, added method for checkign request exists
fixing payload redundancy method in router
fixed issue with database clearing in router_spec
refactored router and cleaned up spec
added app statistics tests in request spec
fixed final app stat method-test
fixing merge conflicts