changes data route, adds optional date param
adds get all method, introduces promises, adds valid timestamp to snapshot data