Working on windows and adding them to db
Adding sliding window and correcting bugs