title: what is the difference between plugin and library?
body: <p>i wonder what the difference between a library and a plugin is?</p>
  
  <p>if a component creates a database (maybe comes with a .sql file or creates through a method) could it still be a library or is it called a plugin or module?</p>
  
  <p>cause i am creating a address book component and it provides methods to insert and read records in database. i don't know if i should put it in library folder or plugin folder.</p>
  
  <p>please shed a light on this.</p>
  
  <p>thanks</p>