Update Database.java

Variables are taken at the starting of the class and are declared static final. startConnection is renamed to getConnection.