Dabasefiles added. Minor bugs.