Progress: Displays Number of Days before Loss

Finished the simple UI and implemented the QueryHandler