Completed first iteration of redis code. Added comments to some sql  queries. Added helper function to retrieve selected random dates.