added db scripts and method to populate database