[TE] Added new statuses, added statuses repository, extended application context.