Quarterly report pursuant to Section 13 or 15(d)

Commitments and contingencies (Details)

v3.8.0.1
Commitments and contingencies (Details)
3 Months Ended 9 Months Ended
Sep. 30, 2017
USD ($)
Sep. 30, 2016
USD ($)
Sep. 30, 2017
USD ($)
Officers
Sep. 30, 2016
USD ($)
May 31, 2017
USD ($)
Feb. 25, 2016
USD ($)
Operating Leased Assets [Line Items]            
Rent expense     $ 13,000      
Sales price of corporate headquarters, land and building to a third party           $ 4,053,000
Proceeds from sale of property plant and equipment     $ 1,799,143    
Gain from sale of property plant and equipment $ 13,062 $ 1,933,335    
BDI [Member]            
Operating Leased Assets [Line Items]            
Lease expiration date     Mar. 31, 2018      
Future minimum operating lease commitments owed in 2017         $ 294,000  
Rent expense     $ 216,000      
Prepayment of rent         $ 80,419  
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