created Task Model with custom initializer