Quarterly report pursuant to Section 13 or 15(d)

Stockholders' Equity (Deficit) (Details Textual)

v3.10.0.1
Stockholders' Equity (Deficit) (Details Textual)
1 Months Ended 3 Months Ended 9 Months Ended
Sep. 30, 2018
USD ($)
$ / shares
shares
Aug. 31, 2018
USD ($)
$ / shares
shares
Jul. 31, 2018
USD ($)
$ / shares
shares
Jul. 25, 2018
USD ($)
$ / shares
shares
Apr. 30, 2018
$ / shares
shares
Feb. 28, 2018
shares
Jan. 31, 2018
shares
Sep. 30, 2018
USD ($)
$ / shares
shares
Sep. 30, 2017
USD ($)
Sep. 30, 2018
USD ($)
$ / shares
shares
Sep. 30, 2017
USD ($)
Jun. 15, 2018
shares
Apr. 06, 2018
$ / shares
Class of Stock [Line Items]                          
Share-based Compensation | $               $ 0   $ 2,728,551 $ 0    
Interest Expense | $               14,171,499 $ 3,792,317 33,502,092 7,654,750    
Class of Warrant or Right, Number of Securities Called by Warrants or Rights                       208,350  
Fair Value Adjustment of Warrants | $               $ 3,878,196 $ (3,220,152) $ 8,127,196 (3,203,468)    
Stock Issued During Period, Shares, Restricted Stock Award, Net of Forfeitures             153,126            
Share-based Compensation Arrangement by Share-based Payment Award, Award Vesting Rights                   In the event an employee voluntarily resigns, the release dates of the shares will be extended such that only 16.5% of the shares are released every nine months, until 100% are released. In the event that a director voluntarily resigns, each of the release dates will be extended nine months.<table border="0" style="width:100%; table-layout:fixed;" cellspacing="0" cellpadding="0"><tr><td></td></tr></table>      
Debt Conversion, Converted Instrument, Shares Issued       99,594                  
Warrants and Rights Outstanding, Term 180 days             180 days   180 days      
Payments Related to Tax Withholding for Share-based Compensation | $                   $ 498,901 $ 0    
Series C Convertible Note [Member]                          
Class of Stock [Line Items]                          
Interest Expense | $               $ 0   $ 490      
Debt Conversion, Converted Instrument, Shares Issued           327              
Warrant [Member]                          
Class of Stock [Line Items]                          
Class of Warrant or Right, Exercise Price of Warrants or Rights | $ / shares $ 5.40             $ 5.40   $ 5.40      
Share-based Compensation, Shares Authorized under Stock Option Plans, Exercise Price Range, Number of Exercisable Options 8,387,924             8,387,924   8,387,924      
Warrant [Member] | Investor [Member]                          
Class of Stock [Line Items]                          
Class of Warrant or Right, Number of Securities Called by Warrants or Rights   50,000                      
Class of Warrant or Right, Exercise Price of Warrants or Rights | $ / shares   $ 4.00                      
Fair Value Adjustment of Warrants | $   $ 117,300                      
Warrants and Rights Outstanding, Measurement Input   4.30                      
Warrant [Member] | Investment Bankers [Member]                          
Class of Stock [Line Items]                          
Class of Warrant or Right, Number of Securities Called by Warrants or Rights       72,000                  
Class of Warrant or Right, Exercise Price of Warrants or Rights | $ / shares       $ 6.25                  
Fair Value Adjustment of Warrants | $       $ 169,000                  
Share Price | $ / shares       $ 5.00                  
Warrant [Member] | Series E Convertible Note [Member]                          
Class of Stock [Line Items]                          
Class of Warrant or Right, Number of Securities Called by Warrants or Rights     487,864                    
Class of Warrant or Right, Exercise Price of Warrants or Rights | $ / shares     $ 3.00                    
Fair Value Adjustment of Warrants | $     $ 1,590,095                    
Warrant [Member] | Measurement Input, Expected Dividend Rate [Member] | Investor [Member]                          
Class of Stock [Line Items]                          
Warrants and Rights Outstanding, Measurement Input   0                      
Warrant [Member] | Measurement Input, Expected Dividend Rate [Member] | Investment Bankers [Member]                          
Class of Stock [Line Items]                          
Warrants and Rights Outstanding, Measurement Input       0                  
Warrant [Member] | Measurement Input, Expected Dividend Rate [Member] | Series E Convertible Note [Member]                          
Class of Stock [Line Items]                          
Share Price | $ / shares     $ 5.00                    
Warrants and Rights Outstanding, Measurement Input     0                    
Warrant [Member] | Measurement Input, Price Volatility [Member] | Investor [Member]                          
Class of Stock [Line Items]                          
Warrants and Rights Outstanding, Measurement Input   60                      
Warrant [Member] | Measurement Input, Price Volatility [Member] | Investment Bankers [Member]                          
Class of Stock [Line Items]                          
Warrants and Rights Outstanding, Measurement Input       59                  
Warrant [Member] | Measurement Input, Price Volatility [Member] | Series E Convertible Note [Member]                          
Class of Stock [Line Items]                          
Warrants and Rights Outstanding, Measurement Input     59                    
Warrant [Member] | Measurement Input, Risk Free Interest Rate [Member]                          
Class of Stock [Line Items]                          
Warrants and Rights Outstanding, Measurement Input       2.86                  
Warrant [Member] | Measurement Input, Risk Free Interest Rate [Member] | Investor [Member]                          
Class of Stock [Line Items]                          
Warrants and Rights Outstanding, Measurement Input   2.88                      
Warrant [Member] | Measurement Input, Risk Free Interest Rate [Member] | Series E Convertible Note [Member]                          
Class of Stock [Line Items]                          
Warrants and Rights Outstanding, Measurement Input     2.82                    
Warrant [Member] | Measurement Input, Expected Term [Member]                          
Class of Stock [Line Items]                          
Warrants and Rights Outstanding, Term       5 years                  
Warrant [Member] | Measurement Input, Expected Term [Member] | Investor [Member]                          
Class of Stock [Line Items]                          
Warrants and Rights Outstanding, Term   3 years                      
Warrant [Member] | Measurement Input, Expected Term [Member] | Series E Convertible Note [Member]                          
Class of Stock [Line Items]                          
Warrants and Rights Outstanding, Term     5 years                    
Share-based Compensation Award, Tranche One [Member]                          
Class of Stock [Line Items]                          
Class of Warrant or Right, Exercise Price of Warrants or Rights | $ / shares                         $ 5.40
Share-based Compensation Arrangement by Share-based Payment Award, Award Vesting Rights, Percentage             33.40%            
Share-based Compensation Award, Tranche Two [Member]                          
Class of Stock [Line Items]                          
Share-based Compensation Arrangement by Share-based Payment Award, Award Vesting Rights, Percentage             33.30%            
Share-based Compensation Award, Tranche Three [Member]                          
Class of Stock [Line Items]                          
Share-based Compensation Arrangement by Share-based Payment Award, Award Vesting Rights, Percentage             33.30%            
Employees [Member]                          
Class of Stock [Line Items]                          
Stock Issued During Period, Shares, Restricted Stock Award, Net of Forfeitures             1,284,470            
Mr Michael Howse [Member] | Warrant [Member]                          
Class of Stock [Line Items]                          
Class of Warrant or Right, Number of Securities Called by Warrants or Rights         275,000                
Class of Warrant or Right, Exercise Price of Warrants or Rights | $ / shares         $ 5.40                
Fair Value Adjustment of Warrants | $ $ 220,909                        
Share-based Compensation Arrangement by Share-based Payment Award, Equity Instruments Other than Options, Vested in Period         110,000                
Share-based Compensation Arrangement by Share-based Payment Award, Equity Instruments Other than Options, Nonvested, Number 61,111             61,111   61,111      
Share-based Compensation, Shares Authorized under Stock Option Plans, Exercise Price Range, Number of Exercisable Options 213,889             213,889   213,889      
Mr Michael Howse [Member] | Warrant [Member] | Measurement Input, Expected Dividend Rate [Member]                          
Class of Stock [Line Items]                          
Share Price | $ / shares $ 4.03             $ 4.03   $ 4.03      
Warrants and Rights Outstanding, Measurement Input 0             0   0      
Mr Michael Howse [Member] | Warrant [Member] | Measurement Input, Price Volatility [Member]                          
Class of Stock [Line Items]                          
Warrants and Rights Outstanding, Measurement Input 59             59   59      
Mr Michael Howse [Member] | Warrant [Member] | Measurement Input, Risk Free Interest Rate [Member]                          
Class of Stock [Line Items]                          
Warrants and Rights Outstanding, Measurement Input 2.94             2.94   2.94      
Mr Michael Howse [Member] | Warrant [Member] | Measurement Input, Expected Term [Member]                          
Class of Stock [Line Items]                          
Warrants and Rights Outstanding, Term 4 years 9 months 22 days             4 years 9 months 22 days   4 years 9 months 22 days      
LongTerm Stock Incentive Plan [Member]                          
Class of Stock [Line Items]                          
Share-based Compensation Arrangement by Share-based Payment Award Maximum Percentage of Shares Authorized 15.00%             15.00%   15.00%      
Share-based Compensation Arrangement by Share-based Payment Award, Number of Shares Authorized 300,000             300,000   300,000      
Stock Issued During Period, Shares, Restricted Stock Award, Gross               473,091   473,091      
Stock Issued During Period, Value, Restricted Stock Award, Gross | $               $ 2,300,000   $ 2,300,000      
Stock Issued During Period, Value, Restricted Stock Award, Forfeitures | $                   $ 123,255      
Restricted Stock Shares Withheld                   92,555      
Payments Related to Tax Withholding for Share-based Compensation | $                   $ 499,000      
Stock Issued During Period, Shares, Issued for Services               94,160          
Stock Issued During Period, Value, Issued for Services | $               $ 393,550          
Common Stock [Member] | Warrant [Member]                          
Class of Stock [Line Items]                          
Class of Warrant or Right, Number of Securities Called by Warrants or Rights 625,000             625,000   625,000      
Fair Value Adjustment of Warrants | $               $ 2,506,250          
Share Price | $ / shares $ 4.03             $ 4.03   $ 4.03      
Common Stock [Member] | Warrant [Member] | Series C Convertible Note [Member]                          
Class of Stock [Line Items]                          
Class of Warrant or Right, Exercise Price of Warrants or Rights | $ / shares $ 4.50             $ 4.50   $ 4.50      
Common Stock [Member] | Warrant [Member] | Measurement Input, Expected Dividend Rate [Member] | Series G Notes [Member]                          
Class of Stock [Line Items]                          
Warrants and Rights Outstanding, Measurement Input 0             0   0      
Common Stock [Member] | Warrant [Member] | Measurement Input, Price Volatility [Member] | Series G Notes [Member]                          
Class of Stock [Line Items]                          
Warrants and Rights Outstanding, Measurement Input 59             59   59      
Common Stock [Member] | Warrant [Member] | Measurement Input, Risk Free Interest Rate [Member] | Series G Notes [Member]                          
Class of Stock [Line Items]                          
Warrants and Rights Outstanding, Measurement Input 2.77             2.77   2.77      
Common Stock [Member] | Warrant [Member] | Measurement Input, Expected Term [Member] | Series G Notes [Member]                          
Class of Stock [Line Items]                          
Warrants and Rights Outstanding, Term 5 years             5 years   5 years