Database is now populated by necessary information.

Testing of database script included in test subdirectory.

Added local update to second copy of make db to remove it in next call.