Renamed main file; Refactored $http dependency out; Extended functionality to be configured as a provider and use one or more transport types