removed the WTDatabase-Singleton-Design
fixed minor bugs