refactor stuff + add more ui stuff + working on json tasks