Added calculations between dates and basic UI