Refactor and move context to TWCoreDataHelper class