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 ($)
Mar. 31, 2017
Dec. 31, 2016
Aug. 11, 2016
Jun. 27, 2016
Debt Instrument [Line Items]        
Total long term debt $ 17,276,002 $ 17,156,033    
Less: Current portion of Long Term Debt 4,057,042 3,153,666    
Discount on warrants, net 789,250 834,500    
Long Term Debt, net of Current Portion 12,429,710 13,167,867    
Future minimum loan payments:        
2017 3,274,174      
2018 3,170,310      
2019 3,187,808      
2020 1,280,594      
2021 113,116      
Thereafter 6,250,000      
Total long term debt 17,276,002 17,156,033    
Medium-term Notes | Term Loan Agreements        
Debt Instrument [Line Items]        
Total long term debt 8,777,918 9,485,000    
Future minimum loan payments:        
Total long term debt 8,777,918 9,485,000    
Construction Loans | Equipment Financing Agreements        
Debt Instrument [Line Items]        
Total long term debt 1,340,675 1,421,033    
Future minimum loan payments:        
Total long term debt 1,340,675 1,421,033    
Unsecured Debt | Promissory notes, net        
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 | American Express Loan        
Debt Instrument [Line Items]        
Total long term debt   0    
Future minimum loan payments:        
Total long term debt   $ 0    
American Express Bank, FSB | Construction Loans | American Express Loan        
Debt Instrument [Line Items]        
Total long term debt 907,409      
Future minimum loan payments:        
Total long term debt $ 907,409