Added property getters and setters for hostname and database name