changed constructor function
added options for wrapped and high availability databases
added shutdown hook to ensure save shutdown of the database
changed pom to compile dependencies into a single jar