Quarterly report pursuant to Section 13 or 15(d)

Commitments and contingencies (Details)

v3.7.0.1
Commitments and contingencies (Details)
3 Months Ended 6 Months Ended
Jun. 30, 2017
USD ($)
Jun. 30, 2016
USD ($)
Jun. 30, 2017
USD ($)
Officers
Jun. 30, 2016
USD ($)
Feb. 25, 2016
USD ($)
Operating Leased Assets [Line Items]          
Sales price of corporate headquarters, land and building to a third party         $ 4,053,000
Proceeds from sale of property plant and equipment     $ 1,749,484  
Gain from sale of property plant and equipment $ 912 $ 1,920,273  
BDI [Member]          
Operating Leased Assets [Line Items]          
Lease expiration date     Mar. 31, 2018    
Future minimum operating lease commitments owed in 2017 233,000   $ 233,000    
Lease deposit     $ 37,000    
Employment Contracts [Member]          
Operating Leased Assets [Line Items]          
Number of officers | Officers     1    
Annual commitment amount $ 272,000   $ 272,000    
Subsidiary [Member]          
Operating Leased Assets [Line Items]          
Rent expense     $ 229,000