populate local database with components