Database and Client thread modifications

- Database.java updated, changed method name
- ClientThread.java, minor imlementations (Not done)