Quarterly report pursuant to Section 13 or 15(d)

Long term debt - Schedule of Debt and Maturities (Details)

v3.8.0.1
Long term debt - Schedule of Debt and Maturities (Details) - USD ($)
Sep. 30, 2017
Dec. 31, 2016
Aug. 11, 2016
Jun. 27, 2016
Debt Instrument [Line Items]        
Total $ 15,138,901 $ 17,156,033    
Less: Current portion of Long Term Debt 3,516,289 3,153,666    
Discount on warrants, net 698,750 834,500    
Long Term Debt, net of Current Portion 10,923,862 13,167,867    
Future minimum loan payments:        
Remainder of 2017 1,144,349      
2018 3,170,310      
2019 3,187,808      
2020 1,276,391      
2021 6,360,043      
Total 15,138,901 17,156,033    
Medium-term Notes | Term Loan Agreements        
Debt Instrument [Line Items]        
Total 7,363,752 9,485,000    
Future minimum loan payments:        
Total 7,363,752 9,485,000    
Construction Loans | Equipment Financing Agreements        
Debt Instrument [Line Items]        
Total 1,170,745 1,421,033    
Future minimum loan payments:        
Total 1,170,745 1,421,033    
Unsecured Debt | Promissory notes        
Debt Instrument [Line Items]        
Total 6,250,000 6,250,000    
Discount on warrants, net     $ 360,000 $ 125,000
Future minimum loan payments:        
Total 6,250,000 6,250,000    
American Express Bank, FSB | Construction Loans | American Express Loan        
Debt Instrument [Line Items]        
Total 354,404 0    
Future minimum loan payments:        
Total $ 354,404 $ 0