Refactor code into class