Refactor application helper, move methods to respective models