title: Use Model from inside a Library cakephp
body: <p>I created a few files in app/Lib folder and would like to access one of my models from the library classes:</p>
  
  <pre><code>&lt;?php 
  
  App::uses('CrawlerBase','Lib');
  App::uses('Deal', 'Model');
  
  class SampleCrawler extends CrawlerBase {
  
      public $uses = array('Deal');
  
      function __construct(){
            $this-&gt;Deal-&gt;create();
  </code></pre>
  
  <p>However, cake cant seems to find the Deal model and im getting a call to member function create() on a non-object in the model creation line.</p>
  
  <p>Appreciate the help.</p>