Issue 57 resolved, now collection can take keys as timestamps

Hi as per my observations i have tried to get rid of it. I have made some changes in hope that it may be useful for community.