Quarterly report pursuant to Section 13 or 15(d)

Stockholders' Equity (Details Narrative)

v3.7.0.1
Stockholders' Equity (Details Narrative) - USD ($)
$ / shares in Units, $ in Thousands
6 Months Ended 12 Months Ended
Dec. 16, 2016
Apr. 13, 2016
Jan. 06, 2016
Apr. 30, 2017
Apr. 30, 2016
Oct. 31, 2016
Apr. 19, 2016
Jan. 14, 2016
Common stock, par value       $ 0.001   $ .001    
Warrant exercise price per share             $ 6.90  
Number of common stock value issued       $ 2,278        
Reverse stock split, description       one (1) for six (6) basis, effective on July 29, 2016        
Employees [Member]                
Number of common stock option exercise price per share     $ 4.08          
Number of common stock shares issued     31,656          
Accredited Investors [Member]                
Sale of common stock issued, shares 759,333              
Sale of stock price, per share $ 3.00              
Warrants to purchase shares of common stock       187,500   187,500    
Number of common stock shares issued       56,250   250,000    
Proceeds from sale of common stock $ 2,300              
Reverse stock split, description           1 for 6 basis    
Number of warrant offering, shares           0.3    
Warrant [Member]                
Beneficially not ownership percentage       4.99%        
Proceeds from offering to a warrant liability       $ 318        
Warrant exercisable term       2 years        
Warrant exercise price per share       $ 6.90        
Common Stock [Member]                
Number of convertible into an aggregate shares issued       613,423        
Cash dividend               $ 6,000
Number of common stock shares issued       759,333        
Number of common stock value issued       $ 1        
Securities Purchase Agreement [Member]                
Sale of common stock issued, shares   250,000            
Common stock, par value   $ 0.001            
Common stock offering price per share   $ 6.00            
Proceeds from offering to a warrant liability   $ 1,400            
Warrants to purchase shares of common stock       187,500        
Series A Preferred Shares [Member]                
Preferred stock, stated value per share       $ 0.68        
Preferred stock initial conversion price, per share       4.08        
Preferred stock current conversion price per share       $ 3.00        
Series A Preferred Shares [Member] | Minimum [Member]                
Beneficially ownership percentage       4.99%        
Beneficially not ownership percentage       9.99%        
Investors monthly payment percentage       1.00%        
Series A Preferred Shares [Member] | Maximum [Member]                
Preferred stock conversion price, per share       $ 3.54        
Investors monthly payment percentage       12.00%        
Series A Convertible Preferred Stock [Member]                
Preferred stock conversion price, percentage       0.00%        
Number of convertible into an aggregate shares issued       3,336,700 599,634      
Series B Preferred Shares [Member]                
Preferred stock, stated value per share       $ 140.00        
Preferred stock initial conversion price, per share       8.40        
Preferred stock conversion price, per share       $ 8.40        
Series B Preferred Shares [Member] | Minimum [Member]                
Beneficially ownership percentage       4.99%        
Series B Preferred Shares [Member] | Maximum [Member]                
Beneficially ownership percentage       9.99%        
Series C Preferred Shares [Member]                
Preferred stock, stated value per share       $ 120.00        
Preferred stock initial conversion price, per share       7.20        
Preferred stock current conversion price per share       5.16        
Preferred stock conversion price, per share       $ 7.80        
Series C Preferred Shares [Member] | Minimum [Member]                
Beneficially ownership percentage       4.99%        
Investors monthly payment percentage       1.00%        
Series C Preferred Shares [Member] | Maximum [Member]                
Beneficially ownership percentage       9.99%        
Investors monthly payment percentage       12.00%        
Preferred stock reduction conversion price, per share       $ 5.16        
Series D Preferred Shares [Member]                
Preferred stock, stated value per share       1,000        
Preferred stock initial conversion price, per share       $ 600        
Preferred stock conversion price, percentage       0.00%        
Series D Preferred Shares [Member] | Minimum [Member]                
Beneficially ownership percentage       4.99%        
Series D Preferred Shares [Member] | Maximum [Member]                
Beneficially ownership percentage       9.99%        
Series E Preferred Shares [Member]                
Preferred stock, stated value per share       $ 1,000        
Preferred stock initial conversion price, per share       $ 1.00        
Series B Convertible Preferred Stock [Member]                
Number of convertible into an aggregate shares issued       6,092        
Series C Convertible Preferred Stock [Member]                
Number of convertible into an aggregate shares issued       5,648        
Series D Convertible Preferred Stock [Member]                
Number of convertible into an aggregate shares issued       96,332 12,001      
Common Stock [Member]                
Number of convertible into an aggregate shares issued       971,860 119,941      
Cash dividend               $ 10,000
Number of common stock option exercise price per share       $ 4.83        
Number of common stock shares issued       121,698        
Number of common stock value issued       $ 588,000