Better task adding

Add support for time

Can update the time and bugfixes