Renamed itemAction to taskName. All method names are modified
accordingly.

Added in-memory unit testing for the model.