fixed bug in getting weeks, added method for last day and getting day as DateTime
remove temp files
remove temp files