broke out helper functions, updated homepage in gemspec