fixes #1 - refactored hello world into class