Quarterly report pursuant to Section 13 or 15(d)

Shareholders' Equity (Details Textual)

v3.7.0.1
Shareholders' Equity (Details Textual) - USD ($)
1 Months Ended 3 Months Ended 6 Months Ended 12 Months Ended
Jun. 28, 2017
Jan. 31, 2017
Jan. 30, 2017
Jan. 24, 2017
Aug. 26, 2016
Mar. 31, 2016
Jun. 30, 2017
Dec. 31, 2016
Feb. 15, 2017
Shareholders' Equity (Textual)                  
Common stock, par value             $ 0.025 $ 0.025  
Common stock, shares issued             9,368,196 1,712,471  
Preferred stock dividends, original issue     0.00%            
Common stock issued to placement agent   3,000,000         2,000,000    
Shortfall provision derivative liability             $ 3,343,623  
Debt instrument, fair value                 $ 89,100,000
Common stock transactions, shares issued             403,865    
Public offering price per unit     $ 3.30            
Warrant purchase             112,871    
Volatility     60.00%     45.00%   60.00%  
Common stock, Issued             $ 233,884 $ 42,812  
Shortfall Provision Derivative Liabilities             $ 2,093,623  
Unrecognized compensation cost related to stock options             $ 445,500    
Unrecognized compensation expense expected to be recognized             3 years    
Purchase of remaining percentage             85.00%    
Over-Allotment Option [Member]                  
Shareholders' Equity (Textual)                  
Warrants exercise price, per share $ 1.90                
Underwriting Agreement [Member]                  
Shareholders' Equity (Textual)                  
Common stock, par value $ 0.025     $ 0.025          
Common stock, shares issued 2,000,000     3,000,000          
Public offering price per unit $ 1.75                
Warrant purchase 575,000                
Term of warrants 5 years                
Warrants exercise price, per share       $ 4.13          
Net proceeds from offering       $ 11,000,000          
Exercise price       $ 5.16          
Warrant sold 75,000                
Board of Directors [Member]                  
Shareholders' Equity (Textual)                  
Common stock issued to placement agent             19,908    
Total expenses             $ 45,000    
Goldman, Sachs & Co [Member]                  
Shareholders' Equity (Textual)                  
Common stock, shares issued     421,326            
Stock issued for services rendered             421,326    
Stock warrants [Member]                  
Shareholders' Equity (Textual)                  
Common stock, shares issued             3,687,871    
Stock underwritten offering, description             Pursuant to the underwriting agreement, the Company granted the underwriters a 45-day option to purchase up to an additional 450,000 shares and/or 450,000 warrants. The underwriters elected to purchase 112,871 warrants under this option for net proceeds of approximately $1,200.    
Warrant purchase             3,000,000    
Term of warrants             5 years    
Exercise price             $ 4.59 $ 3.02  
Aggregate intrinsic value             $ 1,200    
Warrants issued             100,000    
Warrants issued exercise price             $ 2.19    
Warrants offering exercisable, description             December 25, 2017 through December 25, 2022    
Stock warrants one [Member]                  
Shareholders' Equity (Textual)                  
Warrant purchase             575,000    
Term of warrants             5 years    
Exercise price             $ 1.90    
Common Stock [Member]                  
Shareholders' Equity (Textual)                  
Common stock, shares issued             7,644,225    
Aggregate intrinsic value is based on the closing price             $ 1.65    
Representatives' Warrant [Member] | Underwriting Agreement [Member]                  
Shareholders' Equity (Textual)                  
Warrant purchase 100,000                
Warrant aggregate purchase price $ 100                
Preferred Stock [Member]                  
Shareholders' Equity (Textual)                  
Preferred stock, shares authorized             5,000,000    
Preferred Series A stock [Member]                  
Shareholders' Equity (Textual)                  
Preferred stock, shares authorized             51 51  
Preferred stock, shares issued             51 51  
Preferred stock, shares outstanding             51 51  
Preferred stock, voting rights, description             Each share of Series A Preferred Stock has no conversion rights, is senior to any other class or series of capital stock of the Company and has special voting rights. Each one (1) share of Series A Preferred Stock shall have voting rights equal to (x) 0.019607 multiplied by the total issued and outstanding Common Stock eligible to vote at the time of the respective vote (the "Numerator"), divided by (y) 0.49, minus (z) the Numerator.    
Series B Preferred Stock [Member]                  
Shareholders' Equity (Textual)                  
Preferred stock, shares authorized             71,210 71,210  
Preferred stock, shares issued             0 71,210  
Preferred stock, shares outstanding             0 71,210  
Series C Preferred Stock [Member]                  
Shareholders' Equity (Textual)                  
Preferred stock, shares authorized             67,361 67,361  
Preferred stock, shares issued     35,750   12,750   0 35,750  
Preferred stock, shares outstanding             0 35,750  
Preferred stock, conversion rights, description             Each share of Series C: (a) has a stated value of equal to $100 per share; (b) has a par value of $0.001 per share; (c) accrues fixed rate dividends at a rate of eight percent per annum; (d) are convertible at the option of the holder into 89.28 shares of common Stock (conversion price of $22.40 per share based off stated value of $100); (e) votes on an 'as converted' basis; (f) has a liquidation privileges of $22.40 per share; and (g) expire 15 months after issuance.    
Preferred stock dividends, original issue             20.00%    
Common stock issued to placement agent             1,081,472    
Convertible option, shares issued     1,082,022       89.28    
Preferred stock, liquidation preference per share             $ 22.40    
Convertible options, conversion price per share             $ 22.40    
Stock underwritten offering, description             (1) the Company receives aggregate gross proceeds of at least $20,000,000 in consideration of the purchase of shares of Common Stock or (2) (a) the Company receives aggregate gross proceeds of at least $15,000,000 amended to reflect gross proceeds of at least $12,000,000, in consideration of the purchase of shares of Common Stock and (b) the Common Stock becomes listed on The Nasdaq Capital Market, the New York Stock Exchange, or the NYSE MKT.    
Aggregate gross proceeds of stock         $ 1,275,000   $ 15,000,000    
Shortfall provision derivative liability         (310,000)        
Debt instrument, fair value         (965,000)        
Preferred stock expiration term of issuance             15 months    
Percentage of convertible debt     20.00%            
Public offering price per unit     $ 4.13            
Cumulative fair values of stock issuance     $ 2,100,000       $ 930,000    
Cumulative fair values extinguishment             $ 2.9    
Deemed dividend         $ 265,000        
Shortfall Provision Derivative Liabilities     $ 2,937,000            
Series C One Preferred Stock [Member]                  
Shareholders' Equity (Textual)                  
Preferred stock, shares issued         23,000        
Shortfall provision derivative liability         $ 620,000        
Debt instrument, fair value         2,300,000        
Preferred stock, beneficial conversion feature         $ 373,000        
Common stock shares, repurchase         2,053,573        
Derivative liability, top off provision         $ 246,000        
Vendor [Member]                  
Shareholders' Equity (Textual)                  
Stock issued for services rendered             5,000    
Officer [Member]                  
Shareholders' Equity (Textual)                  
Stock issued for services rendered             212,654    
Waste Services Industries, LLC [Member]                  
Shareholders' Equity (Textual)                  
Common stock issued to placement agent             500,000