Uploaded Database.java

Uploaded the main file to access, read and write Database files.