refactor how hockeyapp is initialized to allow for customization