Added file with SQL scripts for creating the database structure.
Fixed a bug in checkMemoryUsage.ch