Removed extra files. Refactored populateDatabase function.