Added new models.component module to access the component database.