Quarterly report pursuant to Section 13 or 15(d)

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

v3.7.0.1
Long term debt - Schedule of Debt and Maturities (Details) - USD ($)
Jun. 30, 2017
Dec. 31, 2016
Aug. 11, 2016
Jun. 27, 2016
Debt Instrument [Line Items]        
Total long term debt $ 16,161,301 $ 17,156,033    
Less: Current portion of Long Term Debt 3,745,901 3,153,666    
Discount on warrants, net 744,000 834,500    
Long Term Debt, net of Current Portion 11,671,400 13,167,867    
Future minimum loan payments:        
2017 2,162,877      
2018 3,170,310      
2019 3,187,808      
2020 1,278,506      
2021 111,800      
Thereafter 6,250,000      
Total long term debt 16,161,301 17,156,033    
Medium-term Notes | Term Loan Agreements        
Debt Instrument [Line Items]        
Total long term debt 8,070,833 9,485,000    
Future minimum loan payments:        
Total long term debt 8,070,833 9,485,000    
Construction Loans | Equipment Financing Agreements        
Debt Instrument [Line Items]        
Total long term debt 1,256,452 1,421,033    
Future minimum loan payments:        
Total long term debt 1,256,452 1,421,033    
Unsecured Debt | Promissory notes        
Debt Instrument [Line Items]        
Total long term debt 6,250,000 6,250,000    
Discount on warrants, net     $ (360,000) $ (125,000)
Future minimum loan payments:        
Total long term debt 6,250,000 6,250,000    
American Express Bank, FSB | Construction Loans | American Express Loan        
Debt Instrument [Line Items]        
Total long term debt 584,016 0    
Future minimum loan payments:        
Total long term debt $ 584,016 $ 0