Refactoring asyncTask support in another file rather than activities. Making it generic with templates