Initial way for loading data into db