Refactored MainWindow into MVVM pattern. Added unit tests for TimeEntryViewModel.