Quarterly report pursuant to Section 13 or 15(d)

Related Parties (Details Textual)

v3.7.0.1
Related Parties (Details Textual) - USD ($)
$ / shares in Units, $ in Thousands
1 Months Ended 3 Months Ended 12 Months Ended
May 31, 2015
May 19, 2015
Mar. 04, 2015
Jul. 01, 2014
Jun. 11, 2014
Mar. 25, 2015
Feb. 25, 2015
Mar. 31, 2017
Mar. 31, 2016
Dec. 31, 2016
Dec. 31, 2015
Dec. 31, 2014
Mar. 09, 2017
Jan. 31, 2017
Jan. 01, 2014
Related Parties (Textual)                              
Interest expense associated with related-party notes               $ 656 $ 902            
Interest rate                   3.00%     4.67% 6.00%  
Additional convertible notes                            
Change in fair value of derivative liability recorded as net gain (loss)               1,916              
Loans from related parties               $ 15,613   $ 18,163          
Loans to employees [Member]                              
Related Parties (Textual)                              
Original principal amount of debt instrument                   928          
Maturity date of notes               Dec. 31, 2017              
Loans from related parties               $ 928   928          
Reserve of loans to employees               $ 891   891          
Minimum [Member]                              
Related Parties (Textual)                              
Monthly interest rate on promissory note                       12.00%      
Maximum [Member]                              
Related Parties (Textual)                              
Monthly interest rate on promissory note                       18.00%      
Mark Munro 1996 Charitable Trust [Member]                              
Related Parties (Textual)                              
Maturity date of notes                     Jan. 01, 2018 Jan. 01, 2018      
Interest rate                     3.00% 3.00%      
Promissory note 2 [Member]                              
Related Parties (Textual)                              
Amount of debt discount                     $ 9        
Maturity date of notes               May 31, 2016              
Promissory note 4 [Member]                              
Related Parties (Textual)                              
Original principal amount of debt instrument                       $ 737      
Interest rate                       12.00%      
Cama Plan FBO Mark Munro IRA [Member]                              
Related Parties (Textual)                              
Amount of debt discount               $ 28   $ 38          
Maturity date of notes               Jan. 01, 2018   Jan. 01, 2018   Jan. 01, 2018      
Interest rate               3.00%   3.00%          
Monthly interest rate on promissory note                       12.00%      
1112 Third Avenue Corp. [Member]                              
Related Parties (Textual)                              
Amount of debt discount               $ 28   $ 36          
Maturity date of notes               Jan. 01, 2018   Jan. 01, 2018   Jan. 01, 2018      
Interest rate               3.00%   3.00%          
Issuance of shares of common stock             50,000                
Monthly interest rate on promissory note                       12.00%      
Pascack Road, LLC. [Member]                              
Related Parties (Textual)                              
Amount of debt discount               $ 152   $ 116          
Original principal amount of debt instrument         $ 200                    
Maturity date of notes         Mar. 31, 2016     Jan. 01, 2018   Jan. 01, 2018   Jan. 01, 2018      
Interest rate         18.00%     3.00%   3.00%          
Pascack Road, LLC. [Member] | Minimum [Member]                              
Related Parties (Textual)                              
Monthly interest rate on promissory note                       12.00%      
Pascack Road, LLC. [Member] | Maximum [Member]                              
Related Parties (Textual)                              
Monthly interest rate on promissory note                       18.00%      
Forward Investment LLC unsecured [Member]                              
Related Parties (Textual)                              
Maturity date of notes               Jul. 01, 2016   Jul. 01, 2016          
Forward Investment LLC unsecured [Member] | Minimum [Member]                              
Related Parties (Textual)                              
Interest rate               2.00%   2.00%   2.00%      
Monthly interest rate on promissory note                       2.00%      
Forward Investment LLC unsecured [Member] | Maximum [Member]                              
Related Parties (Textual)                              
Interest rate               10.00%   10.00%   10.00%      
Monthly interest rate on promissory note                       10.00%      
Forward Investment LLC unsecured [Member] | Promissory note 1 [Member]                              
Related Parties (Textual)                              
Original principal amount of debt instrument     $ 3,650         $ 2,814              
Maturity date of notes     Jul. 01, 2016                        
Interest rate     10.00%                        
Issuance of shares of common stock               161,960,689              
Loss on debt modification               $ 1,508              
Forward Investment LLC unsecured [Member] | Promissory note 1 [Member] | Minimum [Member]                              
Related Parties (Textual)                              
Maturity date of notes     Jun. 30, 2015                        
Forward Investment LLC unsecured [Member] | Promissory note 1 [Member] | Maximum [Member]                              
Related Parties (Textual)                              
Maturity date of notes     Jul. 01, 2016                        
Forward Investment LLC unsecured [Member] | Promissory note 2 [Member]                              
Related Parties (Textual)                              
Original principal amount of debt instrument     $ 2,825                        
Maturity date of notes     Jul. 01, 2016                        
Issuance of shares of common stock     2                        
Forward Investment LLC unsecured [Member] | Promissory note 2 [Member] | Minimum [Member]                              
Related Parties (Textual)                              
Maturity date of notes     Jun. 30, 2015                        
Forward Investment LLC unsecured [Member] | Promissory note 2 [Member] | Maximum [Member]                              
Related Parties (Textual)                              
Maturity date of notes     Jul. 01, 2016                        
Forward Investment LLC unsecured [Member] | Promissory note 3 [Member]                              
Related Parties (Textual)                              
Original principal amount of debt instrument     $ 2,645                        
Maturity date of notes     Jan. 01, 2018                        
Initial conversion price     $ 6.36                        
Stock price per share     $ 2.35                        
Forward Investment LLC unsecured [Member] | Promissory note 3 [Member] | Minimum [Member]                              
Related Parties (Textual)                              
Interest rate     3.00%                        
Forward Investment LLC unsecured [Member] | Promissory note 3 [Member] | Maximum [Member]                              
Related Parties (Textual)                              
Interest rate     18.00%                        
Forward Investment LLC unsecured [Member] | Promissory note 4 [Member]                              
Related Parties (Textual)                              
Original principal amount of debt instrument     $ 1,730                        
Maturity date of notes     Jan. 01, 2018               Jan. 01, 2018        
Interest rate     3.00%                        
Initial conversion price     $ 6.36                        
Stock price per share     $ 2.35                        
Loss on debt modification                     $ 1,508        
Additional convertible notes     $ 8,000                        
Forward Investments LLC one unsecured [Member]                              
Related Parties (Textual)                              
Amount of debt discount               $ 860   $ 665          
Maturity date of notes               Jan. 01, 2018   Jan. 01, 2018   Jan. 01, 2018      
Interest rate               3.00%   3.00%          
Monthly interest rate on promissory note                       18.00%      
Forward Investments LLC one unsecured [Member] | Promissory note 5 [Member]                              
Related Parties (Textual)                              
Maturity date of notes               Jan. 01, 2016              
Interest rate               6.50%              
Accrued Interest               $ 390              
Forward Investments LLC one unsecured [Member] | Promissory note 5 [Member] | Minimum [Member]                              
Related Parties (Textual)                              
Percentage of outstanding shares of common stock sold               2.00%              
Forward Investments LLC one unsecured [Member] | Promissory note 5 [Member] | Maximum [Member]                              
Related Parties (Textual)                              
Percentage of outstanding shares of common stock sold               10.00%              
Forward Investments LLC two unsecured [Member]                              
Related Parties (Textual)                              
Amount of debt discount                     $ 147        
Maturity date of notes               Jul. 01, 2016   Jul. 01, 2016   Jul. 01, 2016      
Interest rate               6.50%     6.50%        
Debt discount               5.00%              
Frank Jadevaia [Member]                              
Related Parties (Textual)                              
Original principal amount of debt instrument   $ 500                         $ 6,255
Maturity date of notes   May 30, 2016                   May 30, 2016      
Interest rate                             8.00%
Issuance of shares of common stock   232,182                   100,000      
Initial conversion price                             $ 16.99
Stock price per share   $ 3.38                          
Converted principal amount   $ 500                          
Scott Davis [Member]                              
Related Parties (Textual)                              
Maturity date of notes       Jan. 01, 2015   May 30, 2016                  
Interest rate       8.00%                      
Issuance of shares of common stock       22,222                      
Initial conversion price $ 3.53     $ 6.59   $ 2.16                  
Stock price per share           $ 2.22                  
Debt discount 13.00%                            
Converted principal amount $ 25                            
Unsecured convertible promissory notes       $ 250                      
Monthly interest rate on promissory note       8.00%                      
Converted shares 11,261                            
Mark Munro one [Member]                              
Related Parties (Textual)                              
Amount of debt discount               $ 47   $ 62          
Maturity date of notes                     Jan. 01, 2018 Jan. 01, 2018      
Interest rate               3.00%   3.00%